<template>
  <div>
    <wallpaperHeader></wallpaperHeader>
    <RouterView></RouterView>
  </div>
</template>

<script setup>
import wallpaperHeader from './components/wallpaper-header.vue'
window.onbeforeunload = (e) => {
  console.log('I do not want to be closed')

  // 与通常的浏览器不同,会提示给用户一个消息框,
  //返回非空值将默认取消关闭
  //建议使用对话框 API 让用户确认关闭应用程序.
  // e.returnValue = undefined
}
</script>

<style></style>
